package cn.yujiago.miaosha.entity;

import cn.yujiago.miaosha.component.CustomDoubleSerialize;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class MiaoshaGoods implements Serializable {

	private Long goodsId;
	@JsonSerialize(using = CustomDoubleSerialize.class)
	private Double miaoshaPrice;
	private Integer stockCount;
	private Date startDate;
	private Date endDate;

}
